package com.itheima.test;

/**
 * @Author:gy
 * @Date: 2025/09/01 9:12
 * @Description:
 */

public class Demo {
    public static void main(String[] args) {
        //创建自定义线程类的对象
        MyThread mh1 = new MyThread();
        MyThread mh2= new MyThread();
        //开启一条线程
        mh1.start();
        mh2.start();
    }
}
